home *** CD-ROM | disk | FTP | other *** search
/ CU Amiga Super CD-ROM 14 / CU Amiga Magazine's Super CD-ROM 14 (1997)(EMAP Images)(GB)(Track 1 of 3)[!][issue 1997-09].iso / CUCD / Programming / Mesa-2.2 / include / mondello / clgd5472.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-05-06  |  627 b   |  30 lines

  1. /*
  2.   file: clgd5472.h
  3. */
  4.  
  5. #ifndef clgd5472_H
  6. #define clgd5472_H
  7.  
  8. #include <sys/types.h>
  9. #include "type.h"
  10.  
  11. typedef struct {
  12.  int dummy;
  13. } clgd5472State, *clgd5472StatePtr;
  14.  
  15. clgd5472State *clgd5472CreateState();
  16. void clgd5472DeleteState(clgd5472State *state);
  17. void clgd5472SaveState(clgd5472State *state);
  18. void clgd5472RestoreState(clgd5472State *state);
  19.  
  20. void clgd5472InitLUT();
  21. void clgd5472WriteIndex(uint index, uint red, uint green, uint blue);
  22.  
  23. void setBuffer(int buffer);  /* for double buffering, 0=first, 1=second */
  24.  
  25. #define clgd5472ShowCsr() outDacW(0x36,0x01);
  26. #define clgd5472HideCsr() outDacW(0x36,0x00);
  27.  
  28. #endif
  29.  
  30.